package com.tjsinfo.tjsoa.documentationflow.xingzhengfawen.dao;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.tjsinfo.tjsoa.documentationflow.xingzhengfawen.vo.TXingzhengfawenZhengwen;

public class TXingzhengfawenZhengwenDAO extends HibernateDaoSupport implements ITXingzhengfawenZhengwenDAO{
	
	private static final Log log = LogFactory
	.getLog(TXingzhengfawenZhengwenDAO.class);
	
	public TXingzhengfawenZhengwen findById(String id) {
		log.debug("getting TXingzhengfawenZhengwen instance with id: " + id);
		try {
			TXingzhengfawenZhengwen instance = (TXingzhengfawenZhengwen) getHibernateTemplate()
					.get(
							"com.tjsinfo.tjsoa.documentationflow.xingzhengfawen.vo.TXingzhengfawenZhengwen",
							id);
			return instance;
		} catch (RuntimeException re) {
			log.error("get failed", re);
			throw re;
		}
	}

}
